package org.tolk.bench.problems.rubikscube;

/**
 * bench - an api of popular problems
 * Copyright (C) 2010  Werner van Rensburg
 * <p/>
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * <p/>
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * <p/>
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
public class Cube
{
  private Face front;
  private Face top;
  private Face back;
  private Face bottom;
  private Face left;
  private Face right;

  public Cube()
  {
    front = new Face(Colors.RED);
    top = new Face(Colors.BLUE);
    back = new Face(Colors.YELLOW);
    bottom = new Face(Colors.PURPLE);
    left = new Face(Colors.GREEN);
    right = new Face(Colors.ORANGE);
  }

  public Face getFront()
  {
    return front;
  }

  public void setFront(Face front)
  {
    this.front = front;
  }

  public Face getTop()
  {
    return top;
  }

  public void setTop(Face top)
  {
    this.top = top;
  }

  public Face getBack()
  {
    return back;
  }

  public void setBack(Face back)
  {
    this.back = back;
  }

  public Face getBottom()
  {
    return bottom;
  }

  public void setBottom(Face bottom)
  {
    this.bottom = bottom;
  }

  public Face getLeft()
  {
    return left;
  }

  public void setLeft(Face left)
  {
    this.left = left;
  }

  public Face getRight()
  {
    return right;
  }

  public void setRight(Face right)
  {
    this.right = right;
  }

  public Cube(int frontColor, int topColor, int backColor, int bottomColor, int leftColor, int rightColor)
  {
    front = new Face(frontColor);
    top = new Face(topColor);
    back = new Face(backColor);
    bottom = new Face(bottomColor);
    left = new Face(leftColor);
    right = new Face(rightColor);

  }

  public void FrontLeftUp()
  {
 
  }

  public void FrontLeftDown()
  {

  }

  public String toString()
  {
    return front.toString() + top.toString() + back.toString() + bottom.toString() + left.toString() + right.toString();
  }

}
